package com.totoro.mongo.model;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Document(collection = "oplog.rs")
public class Oplog implements Serializable{
    private static final long serialVersionUID = -1903544415528554052L;

    @Id
    private String id ;
    private String title ;
    private int year ;
    private String imdbId ;
    private String genre ;
    private long viewerRating ;
    private int viewerVotes ;
    private String director ;


}
